package com.tianma315.admin.device.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.tianma315.admin.common.base.CoreService;
import com.tianma315.admin.device.domain.MaintainRecordDO;
import com.tianma315.admin.device.vo.MaintainRecordAndTypeVO;

/**
 * 
 * <pre>
 * 设备维护记录表
 * </pre>
 * <small> 2019-05-22 16:08:48 | Aron</small>
 */
public interface MaintainRecordService extends CoreService<MaintainRecordDO> {

    Page<MaintainRecordAndTypeVO> getMaintainRecordPage(Integer pageNumber,Integer pageSize,MaintainRecordDO maintainRecordDO);

    boolean addMaintainRecord(MaintainRecordDO maintainRecordDO);

    boolean deleteMaintainRecord(Integer id);
    
}
